import request from '@/utils/request2'
/*
改文件的创建：是为了前台和后台的交互，数据的互相传递
*/
// 查询列表
export function rewardList(query) {
  return request({
    url: '/ehs_scoretotal/rewardscorelist',
    method: 'get',
    baseURL: process.env.VUE_APP_BASE_API2,
    params: query
  })
}

export function personScoreList(query) {
  return request({
    url: '/ehs_scoretotal/personscorelist',
    method: 'get',
    baseURL: process.env.VUE_APP_BASE_API2,
    params: query
  })
}
export function deptScoreList(query) {
  return request({
    url: '/ehs_scoretotal/deptscorelist',
    method: 'get',
    baseURL: process.env.VUE_APP_BASE_API2,
    params: query
  })
}
// 奖励选中的人员

export function rewardPerson(query) {
  return request({
    url: '/ehs_scoremain/rewardperson',
    method: 'get',
    baseURL: process.env.VUE_APP_BASE_API2,
    params: query
  })
}
